package app.client.collect.cartoon.entity;

import cn.lily.com.lang.Basic;
import cn.lily.com.lang.VerifyData;

/**
 * 动画实体
 * @author JiaJ
 * @date 2018年1月8日
 *
 */
public class CartoonCollectEntity {
	
	/**
	 * 名称
	 */
	private String cartoonName = "";
	
	/**
	 * 集数
	 */
	private int cartoonNum = 0;
	
	/**
	 * 年份
	 */
	private String year = "";
	
	/**
	 * 地区
	 */
	private String area = "";
	
	/**
	 * 季数
	 */
	private String season = "1";
	
	/**
	 * 状态：0：完结，1：连载
	 */
	private String status = "";

	public String getCartoonName() {
		return cartoonName;
	}

	public void setCartoonName(String cartoonName) {
		
		cartoonName = VerifyData.xssFilter(cartoonName);
		
		this.cartoonName = cartoonName;
	}

	public int getCartoonNum() {
		return cartoonNum;
	}

	public void setCartoonNum(int cartoonNum) {
		this.cartoonNum = cartoonNum;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getSeason() {
		return season;
	}

	public void setSeason(String season) {
		
		if("零一二三四五六七八九十".indexOf(season)>0){
			season = "零一二三四五六七八九十".indexOf(season)+"";
		}
		
		this.season = season;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	
	
}
